package org.oexam.ostudy.facade;


import org.oexam.ostudy.facade.struct.TeacherDetails;
import org.oexam.ostudy.facade.struct.TeacherList;
import org.oexam.ostudy.sl.ManageTeacherList;



public class ViewTeacherList {
	
	public TeacherList getTeacherList() {
		
		ManageTeacherList manageTeachers = new ManageTeacherList();
		TeacherList list = manageTeachers.getTeacherList();
		
		return list;
		
		
	}
	
	public TeacherDetails getTeacherDetails(int teacher_id) {
		
		ManageTeacherList manageTeachers = new ManageTeacherList();
		TeacherDetails td = manageTeachers.getTeacherDetails(teacher_id);
		
		return td;
	}
	
	public boolean deleteTeacher(int teacher_id) {
		
		ManageTeacherList manageTeachers = new ManageTeacherList();
		boolean ret = manageTeachers.deleteTeacher(teacher_id);
		
		return ret;
	}

}
